<%@page import="com.multysite.entity.News"%>
<%@page import="com.multysite.entity.admin.ApplicationConfig"%>
<%@page import="com.multysite.model.NewsModel"%>
<%@page contentType="text/xml; charset=UTF-8" language="java" %>
<%@page import="java.util.ArrayList"%>
<%
	NewsModel model = (NewsModel) request.getAttribute("model"); 	
%>
<urlset
      xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
            http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
  <%
	for(News obj: model.getListResult()){
	%>
	<url>
	  <loc>http://<%=request.getServerName() %>/<%=obj.getAlias() %>.html</loc>
	</url>
	<%
	}
  %>
</urlset>